package gui;
import java.awt.*;

public class ContainerComponent {

	public static void main(String[] args) {
		Frame frame = new Frame();
		frame.setTitle("This is my first frame!");
		frame.setBounds(200, 200, 200, 200);
		frame.setBackground(Color.RED);
		frame.setLayout(null);
		frame.setVisible(true);
		
		Panel panel = new Panel();
		panel.setSize(100, 100);
		panel.setBackground(Color.GREEN);
		frame.add(panel);
	}

}
